package com.pt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("request")
public class Request {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String title;
    
    private String description;
    
    private Integer categoryId;
    
    private Long requesterId;
    
    private Integer rewardPoints;
    
    private Integer status; // 0=进行中，1=已完成，2=已关闭
    
    private Long fillerId;
    
    private Long filledTorrentId;
    
    private LocalDateTime createdTime;
    
    private LocalDateTime filledTime;
} 